__author__ = 'drazen.popovic'

import TransactionLoggerInterface

class TextFileTrxLogger(TransactionLoggerInterface.TransactionLoggerInterface):
    _strFilename = "test.log"
    def __init__(self):
        pass
    def save(self, trx):
        fh = open(self._strFilename, "a")
        fh.write(str(trx))
        fh.close()
